package com.chance.cc.crawler.development.command.node.douyin;

import com.chance.cc.crawler.development.command.job.domain.douyin.api.DYCommentCrawlerScheduleJob;
import com.chance.cc.crawler.development.command.node.CrawlerNodeCommand;

/**
 * @author bx
 * @date 2020/12/8 0008 13:37
 */
public class DYCrawlerNodeOperator {

    public static void main(String[] args) {
        CrawlerNodeCommand crawlerNodeCommand = new CrawlerNodeCommand("192.168.1.215",9505);
//        CrawlerJob crawlerJob = new CrawlerJob();
//        CategoryTag categoryTags = new CategoryTag();
//        CrawlerScheduleTags scheduleTags = new CrawlerScheduleTags();
//        scheduleTags.categoryTags(categoryTags);
//        scheduleTags.addTriggerInfo("22",0,DouyinSearchPhoneCrawlerScheduleJob.crawlerKey);
//        crawlerJob.setScheduleTags(scheduleTags);
//        crawlerNodeCommand.killCrawler(crawlerJob);

//        crawlerNodeCommand.killCrawler(DYAccountCrawlerScheduleJob.dyCrawlerSchduler());
//        crawlerNodeCommand.killCrawler(DYSearchCrawlerScheduleJob.dyCrawlerSchduler());
        crawlerNodeCommand.killCrawler(DYCommentCrawlerScheduleJob.dyCrawlerSchduler());
//        crawlerNodeCommand.killCrawler(DYCommentCustomCrawlerScheduleJob.dyCrawlerSchduler());
//        crawlerNodeCommand.killCrawler(DYSearchCrawlerScheduleJob.dyCrawlerSchduler());
//        crawlerNodeCommand.killCrawler(DYDevicesRegisterScheduleJob.dyCrawlerSchduler());
//        crawlerNodeCommand.killCrawler(DYSearchCustomCrawlerScheduleJob.dyCrawlerSchduler());

        crawlerNodeCommand.nodeStatus();

//        crawlerNodeCommand.registerCrawlerJob(
//                DouyinSearchCrawlerScheduleJob.dyCrawlerSchduler(DouyinSearchCrawlerScheduleJob.domainId));



//        crawlerNodeCommand.killCrawlerController();
    }
}
